home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
prntutil
/
dj_1stwd
/
dj_1stwd.hex
< prev
Wrap
Text File
|
1995-04-25
|
7KB
|
194 lines
****************************************************************
*
* Hewlett-Packard DeskJet Printer Driver Configuration Table
* For use with First Word Plus
* This file contains tables defining the code sequences
* to be sent to the printer to perform various functions
* and to access the characters from codes in the Atari
* character set.
* Author: STAN LIEBOWITZ; FREDERICK MORA
****************************************************************
*
* Name of printer
* ===============
*
HP DeskJet
* Configuration variables
* =======================
*
* These six variables define certain printer
* configuration details required by 1st Word Plus:
*
* (1) 1 for microspacing daisywheel, else 0
* (2) Character width in printer units (daisy)
* (3) Linefeed height in printer units
* (4) Mid-carriage (daisy) pixels/inch (matrix) (96H for 150 dpi)
* (5) Bold offset in printer units (daisy)
* (6) 1 to pause printing between pages, else 0
0, 0, C, 96, 0, 0
*
* Printer characteristics
* =======================
*
* This table specifies the printer command sequences.
* If the top bit of a code is set, then this indicates the position
* of a parameter passed to the printer. The code whose top bit is set
* in this table is added to the parameter passed before being sent to the
* printer. It is not used in all command sequences, only in those where
* the printer requires a variable value such as the length of a vertical
* tab.
*
* 0 * Character width
1, D, A * Linefeed WITH return
* 2 * Forward print
* 3 * Reverse print
* 4 * Vertical tab to line
* 5 * Absolute horizontal tab
6, 1B, 28, 73, 33, 42 * Draft bold on: Esc ( s 3 B
7, 1B, 28, 73, 30, 42 * Draft bold off: Esc ( s 0 B
8, 1B, 28, 73, 33, 42 * Near Letter Quality bold on:Esc ( s 3 B
9, 1B, 28, 73, 30, 42 * NLQ bold off: Esc ( s 0 B
A, 1B, 26, 64, 32, 44 * "Draft italic" on (double fixed Underline):
B, 1B, 26, 64, 40 * Draft italic off Esc & d @
C, 1B, 26, 64, 32, 44 * NLQ italic on (double fixed Underline):
D, 1B, 26, 64, 40 * NLQ italic off Esc & d @
* E * Draft light on
* F * Draft light off
*10, 1B, 78, 0 * NLQ light on
*11, 1B, 78, 1 * NLQ light off
12, 1B, 28, 73, 2B, 31, 55, 1B, 28, 73, 36, 56, * Draft superscript on with 6 point superscript:
13, 1B, 28, 73, 30, 55, 1B, 28, 73, 31, 32, 56 * Draft superscript off (back to 12 point):
14, 1B, 28, 73, 2B, 31, 55, 1B, 28, 73, 36, 56, * NLQ superscript on with 6 point superscript:
15, 1B, 28, 73, 30, 55, 1B, 28, 73, 31, 32, 56 * NLQ superscript off (back to 12 point):
16, 1B, 28, 73, 2D, 31, 55, 1B, 28, 73, 36, 56 * Draft subscript on with 6 point subscript:
17, 1B, 28, 73, 30, 55, 1B, 28, 73, 31, 32, 56 * Draft subscript off (back to 12 point):
18, 1B, 28, 73, 2D, 31, 55, 1B, 28, 73, 36, 56 * NLQ subscript on with 6 point subscript:
19, 1B, 28, 73, 30, 55, 1B, 28, 73, 31, 32, 56 * NLQ subscript off (back to 12 point):
1A, 1B, 26, 64, 31, 44 * Draft underline (single fixed) on:
1B, 1B, 26, 64, 40 * Draft underline off: Esc & d @
1C, 1B, 26, 64, 31, 44 * NLQ underline (single fixed) on:
1D, 1B, 26, 64, 40 * NLQ underline off: Esc & d @
1E, 1B, 26, 6C, 30, 48 * Formfeed Esc & l 0 H
*1F, 12 * Horizontal initialisation
*20, C * Vertical initialisation
21, 1B, 45 * Termination: printer reset Esc E
22, 8 * Backspace
23, D * Carriage return
*24, 1B, 26, 6c, 66, 50 * Form length in lines
*25, 1B, , 1B, 32 * Set line feed to N units
*26 * Start graphics
* 27 * Reserved
28, 1B, 28, 73, 31, 51, 1B, 28, 73, 31, 30, 48 * Draft Pica (10 cpi)
29, 1B, 28, 73, 32, 51, 1B, 28, 73, 31, 30, 48 * NLQ Pica (10 cpi)
*2A * Draft Elite (12 cpi)
* 2B * NLQ Elite (12 cpi)
2C, 1B, 28, 73, 31, 36, 48 *draft Condensed (17 cpi)
2D, 1B, 28, 73, 31, 36, 48 * NLQ Condensed (17 cpi)
2E, 1B, 28, 73, 30, 35, 48 * Draft Expanded ( 6 cpi)
2F, 1B, 28, 73, 30, 35, 48 * NLQ Expanded ( 6 cpi)
0 * NULL termination byte
*
* Translation Table
* =================
*
* This table provides translation from single Atari input bytes into
* multiple printer codes, and is useful for printing extraneous
* characters such as accented characters etc. All characters are
* subjected to translation, but if there is no entry in the table for
* a particular code, then the original code is sent to the printer.
*
* The entries must be arranged in ascending order of Atari input
* code. The table is NULL terminated.
*
* This table assumes that the HP DeskJet printer is set in
* PC8 Character Set (Switches A1 to A4 down)
0 * NULL: print a space
1 * No Up arrow
2 * No Down arrow
3 * No Right arrow
4 * No Left arrow
5 * No close box
6 * No size box
7 * No full box
8 * No tick
9 * No clock
A * No bell
B, 0D * musical note
E * No LH Atari symbol
F * No RH Atari symbol
10, 30 * LCD 0
11, 31 * LCD 1
12, 32 * LCD 2
13, 33 * LCD 3
14, 34 * LCD 4
15, 35 * LCD 5
16, 36 * LCD 6
17, 37 * LCD 7
18, 38 * LCD 8
19, 39 * LCD 9
7F * No triangle
9E, E1 * Esszet
B0 * No Lower case a tilde
B1 * No Lower case o tilde
B2 * No Capital crossed O
B3 * No Lower case crossed o
B4 * No lower case oe dipthong
B5 * No capital OE dipthong
B6, 41 * No capital A grave: print A
B7, 41 * No capital A tilde: print A
B8, 4F * No capital O tilde: print O
B9 * No Umlaut
BA, 27 * Acute: print '
BB, C5 * Dagger
BC, 15 * Paragraph symbol
BD * No copyright symbol
BE * No Registered symbol
BF * No Trademark symbol
C0 * No ij ligature
C1 * No IJ ligature
C2 * No Hebrew...
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD, 14 * Section mark
DE, 5E * Dropped circumflex
DF, EC * infinity
FE * No superior 3
FF * No macron
0